import request from '@/request/request.js';


/**
 * @description 车辆带货扫码
 */
export function getReturnOrderScanList(param, returnOrderDetailCode){

    return request({
        url: '/return-order-scan/' + returnOrderDetailCode + '/list',
        headers: {
            isToken: true
        },
        method: 'get',
        params: param
    })
}

/**
 * 新增
 */
export function addReturnOrderScanCode(data){
    return request({
        url: '/return-order-scan',
        headers: {
            isToken: true
        },
        method: 'post',
        params: data
    })
}

/**
 * 删除
 */
export function deleteReturnOrderScanCode(code){
    return request({
        url: '/return-order-scan/' + code,
        headers: {
            isToken: true
        },
        method: 'delete'
    })
}